package cn.ren.hai.base.entity;

import cn.ren.hai.core.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 导航 
 * </p>
 *
 * @author wangdao
 * @since 2021-06-09
 */
@Getter
@Setter
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("rh_module")
@ApiModel(value="Module对象", description="导航 ")
public class Module extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "模块路径")
    @TableField("url")
    private String url;

    @ApiModelProperty(value = "类型 1 模块	2 菜单	3 按钮	4 api")
    @TableField("type")
    private Integer type;

    @ApiModelProperty(value = "父级")
    @TableField("parent")
    private String parent;

    @ApiModelProperty(value = "模块全路径")
    @TableField("parent_path")
    private String parentPath;

    @ApiModelProperty(value = "说明")
    @TableField("remark")
    private String remark;


}
